<?php

namespace app\service\model;

use app\index\model\User;
use think\Model;

class Chatlog extends Model
{
    protected $table = 'ws_chat_log';

    public function user()
    {
        return $this->hasOne(User::class, 'id', 'user_id');
    }
}
